package com.rzj.book.service.impl;

import com.rzj.book.dao.IDepDao;
import com.rzj.book.en.Dep;
import com.rzj.book.service.IDepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: rzj
 * @time: 2020/6/11 22:30
 */
@Service
public class DepServiceImpl implements IDepService {

    @Autowired
    private IDepDao depDao;

    @Override
    public List<Dep> getDepCommbox() {
        return depDao.selectAll();
    }
}
